<!-- BEGIN CONTEINER -->
<div id="content">
    <div id="title">
        <div class="left"><fmt:message key='commandeM'/></div>
        <div class="sp"></div>
    </div>
    <table class="normal" cellpadding="7">

        <tr>
            <th width="400"><fmt:message key='product'/></th>
            <th width="85"><fmt:message key='quantity'/></th>
            <th width="60"><fmt:message key='price'/></th>
            <th width="80"><fmt:message key='total'/></th>
        </tr>

        <tbody align="right" border="1">
            <c:forEach var="product" items="${commande.items}" varStatus="iter">
                <tr bgcolor="${((iter.index % 2) == 0) ? '#F781F3' : '#FF00BF'}">
                    <td align="left">${product.name}</td>
                    <td>${product.quantity}</td>
                    <td>${product.price}</td>
                    <td>${product.total}</td>
                </tr>
            </c:forEach>   

        </tbody>
    </table>
    <table cellpadding="7">
        <tr>
            <td  width=475"></td>
            <td align="right" width="57"><fmt:message key='total'/>:</td>
            <td align="right" width="73">${commande.total}</td>
        </tr>
    </table>
    <br/>
    <input type="button" value="<fmt:message key='commandeDetails'/>" onclick="location.href='<c:url value='/commandesClient?${client.idclient}'/>'">
    <input type="button" value="<fmt:message key='commandes'/>" onclick="location.href='<c:url value='/commandesList'/>'">

</div>
<!-- END CONTENT -->
<div class="sp"></div>
</div>
<div class="sp"></div>
</div>